import {
    createApp
} from 'vue'
import App from './App.vue'
import router from './router'
import {
    createPinia
} from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
//引入elementplus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'




//导入axios配置
/* import './util/axios.config' */
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

createApp(App)
    .use(router)
    .use(pinia)
    .use(ElementPlus)
    .mount('#app')